<?php
	namespace App\Http\Middleware;

	use Illuminate\Support\Facades\DB;
	use Closure;

	class Transaction{
		
		public function handle($request, Closure $next){
			
			DB::beginTransaction();
			return $next($request);
		}

	}